package com.lswms.modules.lswms.service.receipt;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.lswms.common.page.PageData;
import com.lswms.common.service.CrudService;
import com.lswms.modules.lswms.dto.receipt.ReceiptDTO;
import com.lswms.modules.lswms.entity.receipt.ReceiptEntity;
import com.lswms.modules.lswms.entity.receipt.ReceiptdetaillistEntity;

/**
 * 收货
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-06-13
 */
public interface ReceiptService extends CrudService<ReceiptEntity, ReceiptDTO> {

    PageData<ReceiptEntity> pageRequest(HttpServletRequest request) throws ParseException;

	String closeReceipt(String receiptkey);

	String cancelReaceipt(String receiptkey);

	String redoReaceipt(String receiptkey);

	String cancelReaceipt2(ReceiptdetaillistEntity entity);

	PageData<ReceiptEntity> pageBySql(Map<String, Object> params);

	String qcCreate(Map map);

	List<Map<String, Object>> getPrintQc(Map<String, Object> params);

	String receiptEmptyLPN(Map<String, Object> params);
}
